package com.wn.class30.service;

import com.wn.class30.entity.Product;

import java.util.List;

public interface WXProductService {
    //根据商品类型和字段(降序或者升序)查询
    List<Product> queryProductByOrderandType(Integer productTypeid,String orderBy);
    //根据搜索内容和字段(降序或者升序)查询
    List<Product> queryProductByOrderandSerach(String serach,String orderBy);

}
